<?php

class Row extends CoreTag {
	protected $align;
	protected $bgcolor;
	protected $char;
	protected $charoff;
	protected $valign;
	
	public function __construct()
	{
		parent::__construct("tr");
		$this->align="";
		$this->bgcolor="";
		$this->char="";
		$this->charoff="";
		$this->valign="";
		$this->attributeNames=array_merge($this->attributeNames,array('align','bgcolor','char','charoff','valign'));
		$this->attributeValues=array_merge($this->attributeValues,array('','','','',''));
	}
	
	public function setAlign($_align)
	{
		$this->align=(string)$_align;
		$this->setAttribute('align',$_align);
	}
	
	public function getAlign()
	{
		return $this->align;
	}
	
	public function setBgColor($_bgcolor)
	{
		$this->bgcolor=(string)$_bgcolor;
		$this->setAttribute('bgcolor',$_bgcolor);
	}
	
	public function getBgColor()
	{
		return $this->bgcolor;
	}
	
	public function setChar($_char)
	{
		$this->char=(string)$_char;
		$this->setAttribute('char',$_char);
	}
	
	public function getChar()
	{
		return $this->char;
	}
	
	public function setCharOff($_charoff)
	{
		$this->charoff=(string)$_charoff;
		$this->setAttribute('charoff',$_charoff);
	}
	
	public function setValign($_valign)
	{
		$this->valign=(string)$_valign;
		$this->setAttribute('valign',$_valign);
	}
	
	public function getValign()
	{
		return $this->valign;
	}
}

?>